package com.leetroll.media.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * feign配置 指定日志级别
 */
//@Configuration//这里是全局配置的，也可以单独指导不同服务这里去掉在对应的服务feign里面去拍照configuration=FeignConfig.class
public class FeignConfig {
    @Bean
    public Logger.Level feignLoggerLerver(){
        return Logger.Level.BASIC;
    }
}
